package com.qiyang.api.uaa;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created on 2018/5/8.
 *
 * @author sehuaqi.
 * 描述：
 */
//@RequestMapping(value = "/auth")
public interface AuthrizationApi {

    /**
     * 获取用户角色
     * @param userId
     * @return
     */
//    @RequestMapping(value = "/role/{userId}")
    public String role(@PathVariable(value = "userId") Long userId);

    /**
     * 初始化用户数据
     * @param num
     * @return
     */
//    @RequestMapping(value = "/init/user/{num}")
    public String initSysuser(@PathVariable(value = "num") int num);

}
